home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_oth
/
m2exa20
/
ticker.def
< prev
next >
Wrap
Text File
|
1987-10-17
|
781b
|
29 lines
DEFINITION MODULE Ticker;
(* (C) Copyright 1987 Fitted Software Tools. All rights reserved.
This module is part of the example multitasking communications program
provided with the Fitted Software Tools' Modula-2 development system.
Registered users may use this program as is, or they may modify it to
suit their needs or as an exercise.
If you develop interesting derivatives of this program and would like
to share it with others, we encourage you to upload a copy to our BBS.
*)
(*
This module provides a clock interrupt service routine that
will increment 'Ticks' on every clock tick.
*)
VAR Ticks :CARDINAL;
CONST
OneSecond = 19;
TenSeconds = 182;
OneMinute = 6 * TenSeconds;
END Ticker.